package com.hgd.security.evp.biz.mapper;

import com.alibaba.fastjson.JSONObject;
import com.hgd.security.evp.biz.entity.EvpGroup;
import com.hgd.security.evp.common.mapper.CommonMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author By Shang
 * @email ${email}
 * @version 2019-01-01 22:49:10
 */
public interface EvpGroupMapper extends CommonMapper<EvpGroup> {

    /**
     * 查询某用户下的组
     * @param userId 用户userId
     */
    List<JSONObject> selectGroupOfUser(@Param(value = "userId") Integer userId);
}
